package org.lanqiao.tjut.factory;

import org.lanqiao.tjut.a_cheese.MozzarellaCheese;
import org.lanqiao.tjut.a_clams.FrozenClams;
import org.lanqiao.tjut.a_dough.ThickCrustDough;
import org.lanqiao.tjut.a_pepperoni.SlicedPepperoni;
import org.lanqiao.tjut.a_sauce.PlumTomatoSauce;
import org.lanqiao.tjut.a_veggies.BlackOlives;
import org.lanqiao.tjut.a_veggies.Eggplant;
import org.lanqiao.tjut.a_veggies.Spinach;
import org.lanqiao.tjut.ingredients.ICheese;
import org.lanqiao.tjut.ingredients.IClams;
import org.lanqiao.tjut.ingredients.IDough;
import org.lanqiao.tjut.ingredients.IPepperoni;
import org.lanqiao.tjut.ingredients.ISauce;
import org.lanqiao.tjut.ingredients.IVeggies;

/**
 * 芝加哥配料厂--继承总厂接口并实现方法
 *
 */
public class ChicagoPizzaIngredientFactory 
	implements IPizzaIngredientFactory 
{

	public IDough createDough() {
		return new ThickCrustDough();
	}

	public ISauce createSauce() {
		return new PlumTomatoSauce();
	}

	public ICheese createCheese() {
		return new MozzarellaCheese();
	}

	public IVeggies[] createVeggies() {
		IVeggies veggies[] = { new BlackOlives(), 
		                      new Spinach(), 
		                      new Eggplant() };
		return veggies;
	}

	public IPepperoni createPepperoni() {
		return new SlicedPepperoni();
	}

	public IClams createClam() {
		return new FrozenClams();
	}
}
